package org.linlinjava.litemall.db.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("lumiere_clover_charges_log")
public class LumiereCloverChargesLog implements Serializable {
    @TableId
    private Long id;
    private Integer userId;
    private Integer shopId;
    private String transactionId;
    private BigDecimal amount;
    private Integer amountRefunded;
    private String currency;
    private Long created;
    private Boolean captured;
    private Long refNum;
    private String authCode;
    private String networkStatus;
    private String type;
    private Boolean paid;
    private String status;
    private String customerId;
    private String addressLine1;
    private String addressLine1Check;
    private String addressZip;
    private String addressZipCheck;
    private String brand;
    private Integer expMonth;
    private Integer expYear;
    private Integer first6;
    private Integer last4;
    private Integer orderId;
    private Integer giftCardOrderId;
    private Integer transactionType;
    private LocalDateTime addTime;
    @TableLogic
    private Boolean deleted;
}
